package com.anolesoft.yr.store.stk.dao;

import com.anolesoft.yr.store.stk.entity.StkStructure;
import com.anolesoft.yr.store.stk.entity.StkStructureExample;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface StkStructureDao extends BaseMapper<StkStructure> {
    long countByExample(StkStructureExample example);

    int deleteByExample(StkStructureExample example);

    List<StkStructure> selectByExample(StkStructureExample example);

    int updateByExampleSelective(@Param("record") StkStructure record, @Param("example") StkStructureExample example);

    int updateByExample(@Param("record") StkStructure record, @Param("example") StkStructureExample example);

    int updateBatch(List<StkStructure> list);

    int batchInsert(@Param("list") List<StkStructure> list);

    int insertOrUpdate(StkStructure record);

    int insertOrUpdateSelective(StkStructure record);
}